/*****************************************************************************/
/**
 *  @file   ModuleParticleDraw.h
 *  @author Allan Lorant, Naohisa Sakamoto
 */
/*----------------------------------------------------------------------------
 *
 *  Copyright (c) Visualization Laboratory, Kyoto University.
 *  All rights reserved.
 *  See http://www.viz.media.kyoto-u.ac.jp/kvs/copyright/ for details.
 *
 *  $Id$
 */
/*****************************************************************************/
#ifndef MODULE_PARTICLE_DRAW_H_INCLUDE
#define MODULE_PARTICLE_DRAW_H_INCLUDE

#include <flowvr/app/components/module.comp.h>


/*===========================================================================*/
/**
 *  @brief  Particle draw module.
 */
/*===========================================================================*/
class ModuleParticleDraw : public flowvr::app::Module
{
    typedef flowvr::app::Module SuperClass;

public:

    ModuleParticleDraw( const std::string& id ): SuperClass( id )
    {
        SuperClass::setInfo( "Receive and display the framebuffer received on its input port" );
        SuperClass::addPort( "particleIn", flowvr::app::INPUT );
    }

    flowvr::app::Component* create() const
    {
        return new ModuleParticleDraw( SuperClass::getId() );
    }
};

#endif // MODULE_PARTICLE_DRAW_H_INCLUDE
